package com.xxx.config.security;

import com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author WXH
 * @version 1.0
 * @program:yebback
 * @date 2022/3/10 19:56
 * @description: 分页插件配置
 */
@Configuration
public class MybatisPlusPage {
    @Bean
    public PaginationInterceptor paginationInterceptor(){
        return new PaginationInterceptor();
    }

}
